package com.hmall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.order.pojo.Order;
import com.hmall.order.web.request.OrderCreateDTO;

public interface IOrderService extends IService<Order> {
    /**
     *创建订单
     * @param orderCreateDTO 购买数量、付款方式、收货人地址id、商品id
     * @return 订单id
     */
    Long createOrder(OrderCreateDTO orderCreateDTO);
}
